﻿
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;


namespace DataBase.Models
{

    [Table("marker_info")]
    public class MarkerBaseInfo
    {

        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.None)]
        [Column("marker_id")]
        public string MarkerID { get; set; }

       
        [Column("x")]
        public int X { get; set; }


        [Column("y")]
        public int Y { get; set; }


        [Column("type")]
        public int  Type { get; set; }


        /// <summary>
        /// 如果是待命点，对应的分组ID
        /// </summary>
        [Column("group")]
        [StringLength(50)]
        public string GroupMarkerID { get; set; } = "";


        /// <summary>
        /// 对应的机台
        /// </summary>
        [Column("group")]
        [StringLength(50)]
        public string DeviceID { get; set; } = "";
    }
}
